#pragma once

#include <d3d9.h>

namespace D3DTexture
{
	LPDIRECT3DTEXTURE9 CreateTextureFromPtr(void *texData, int width, int height, D3DFORMAT fmt, bool genmips = true);
	LPDIRECT3DTEXTURE9 CreateRenderTarget(int width, int height, D3DFORMAT format);
}